﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace PescarShop_1.Models
{
    [Table("tProducto")]
    public class Producto
    {

        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int ID { get; set; }
        public int MarcaID { get; set; }
        public string Nombre { get; set; }
        public virtual Marca Marca { get; set; }
        public string Modelo { get; set; }
        public double Precio { get; set; }
        public string Descripcion { get; set; }
        public string Url { get; set; }

    }

}